<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>title</title>
	<style type="text/css">
img{
	cursor:pointer;
	position:absolute;
	left:0px;
	top:0px;
}



	</style>
</head>
<body>
	<img src="3.jpg" id='imgid'>
</body>
<script type="text/javascript">
imgobj=document.getElementById('imgid');
document.onmousemove=function(event){
	x=event.clientX;
	y=event.clientY;
document.title=x+'-'+y;


imgobj.style.left=x+'px';
imgobj.style.top=y+'px';

}


</script>
</html>